import { RouteConfig } from "vue-router";
import Manage from '@/pages/merchant/manage.vue';
import OrderManage from '@/pages/merchant/orderManage.vue';
import EmployeeSalesData from '@/pages/merchant/employeeSalesData.vue';
import { ROUTE_NAME } from "@/lib/constant";

export const routes: RouteConfig[] = [
    {
        path: '/merchant/manage',
        name: ROUTE_NAME.MERCHANT_MANAGE,
        meta: {
            title: '掌上管理',
        },
        component: Manage,
    },
    {
        path: '/merchant/order_manage',
        name: ROUTE_NAME.MERCHANT_ORDER_MANAGE,
        meta: {
            title: '订单管理',
        },
        component: OrderManage,
    },
    {
        path: '/merchant/employee_sales_data',
        name: ROUTE_NAME.MERCHANT_EMPLOYEE,
        meta: {
            title: '看板',
        },
        component: EmployeeSalesData,
    },
];
